package org.fall.system.utils;

/**
 * @author zjh
 * @since 2021/4/9 16:33
 */
public class AdminCommonTool {
    public static String getRoleByLevel(Integer level) {
        switch (level) {
            case 2:
                return "部门领导";
            case 3:
                return "超级管理员";
            default:
                return "普通用户";
        }
    }
}
